home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 171 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: news.production.compuserve.com!news
  2. From: Khalid Aldoseri <75166.2531@CompuServe.COM>
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: final calc help
  5. Date: 4 Jan 1996 18:37:49 GMT
  6. Organization: Softwood
  7. Message-ID: <4ch6pt$a4h$1@mhadf.production.compuserve.com>
  8.  
  9. Chris Baker (yogi@crl.com) wrote:
  10.  
  11. > I am making a spreed sheet and I am having problems making it.  :( 
  12.  
  13. > I am trying to keep track of my stocks and I would like to have the 
  14. > bottom line stuff sepeate from the rest.  My probelm is the fact they 
  15. > chage daily and I would like to have a forumla.  What I want to do is I 
  16. > want to enter the date, how much the stock changed, the gain/loss, the 
  17. > closing price, gain/loss %.
  18.  
  19. > I have that in a differnt part of the sheet.  IN my bottom section, I 
  20. > would like to have all the formulas so as I enter the data it changes and 
  21. > reflects the change,  Ok, I can put a formula in this one cell and say '=e17'
  22. > it will read that cell, but I would like it to change as I enter the data in,
  23. > I would like it to be like '=e17:e60' and have that change box in my 
  24. > bottom reflect the change on a day to day basis.
  25.  
  26. Chris,
  27.  
  28. I'm not sure exactly what you're looking for here.  The formula =e17:e60
  29. will always return E17, as it sees the range as a single cell.  If you want
  30. the sum of that range, use  =sum(e17:e60).  If you want to get the last cell
  31. in that range, use =last(e17:e60).  Using the last() function will give you
  32. the last entered cell in a range.  This might be what you're looking for.
  33.  
  34. I assume you're looking for a simple stock-tracking sheet, where you
  35. enter the date and the closing price for that date.
  36.  
  37. This is what it would look like:
  38.  
  39.  
  40. Date     Price     Change                 Change %
  41. ------   -------   ------                 -------------
  42. <enter>  <enter>   =price-previousprice   =change/price
  43.  
  44.  
  45. Start by entering the titles in row 4 for example, and then two
  46. date/price entries in rows 5 and 6.
  47.  
  48. Set cell A5 to Format-Type-Date 1. (or any date format)
  49.  
  50. Now, in cell C6 enter:  =b6-b5   and in cell D6 enter =c6/b6
  51.  
  52. Set cell B6 to Format-Type-Percent.
  53.  
  54. Highlight the range C6:D6 and Copy.  Then highlight the range from
  55. C6..C100 and Paste.  This should replicate the formulas in the
  56. 100 rows.
  57.  
  58. Now, in cell A1 enter:  =LAST(A5:A100)   This will pick the last entered
  59. cell in that row.   Copy Cell A1 and paste it back to A2:A4.  Now row 1
  60. will contain the last entered data... nice and simple.  :-)
  61.  
  62. I hope this is what you were looking for.
  63.  
  64. Khalid.
  65. -- 
  66. Khalid Aldoseri - Softwood
  67. 71277.2776@compuserve.com
  68.